package com.zhhh.repository;

import java.util.List;

import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;
import org.springframework.data.repository.query.Param;

import com.zhhh.domain.BMenuTree;

public interface MenuTreeRepository extends CrudRepository<BMenuTree, Integer>{

	@Query("select s from BMenuTree s where s.SModeId in(:modeIds)")
	List<BMenuTree> queryMenuTree(@Param("modeIds")List<String> modeIds);

}
